Meaning of the word "tell the truth and shame the devil" in English

What does "tell the truth and shame the devil" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

tell the truth and shame the devil

US /tɛl ðə truːθ ænd ʃeɪm ðə ˈdɛv.əl/
UK /tɛl ðə truːθ ænd ʃeɪm ðə ˈdɛv.əl/
"tell the truth and shame the devil" picture

Idiom

to speak the truth even when it is difficult, embarrassing, or when there is a strong temptation to lie

Example:
I know it's hard to admit you were wrong, but just tell the truth and shame the devil.
The witness was encouraged to tell the truth and shame the devil during the trial.